package com.yundingai.service;

import com.yundingai.domain.dto.RoomInfoDTO;

import com.yundingai.domain.vo.RoomSdpVo;

import java.util.List;

public interface RoomService {

    List<RoomInfoDTO> getRoomList();

    boolean handleJoin(RoomSdpVo msg);

    void handleExit(RoomSdpVo msg);

    void handleExit(String roomId, String userId);

    void createRoom(RoomInfoDTO room);

    void handleHeartBeat(RoomSdpVo message);

    Integer getUserCount();

    Integer getRoomCount();

    RoomInfoDTO varifyPwd(String roomId, String password);
}
